This paper introduces a new technique for dynamic verification ofcomponent-based real-time systems based on statistical inference. Verifyingsuch systems requires checking two types of properties: functional andreal-time. For functional properties, a standard approach for ensuringcorrectness is Design by Contract: annotating programs with executable pre- andpostconditions. We extend contracts for specifying real-time properties. In theindustry, components are often bought from vendors and meant to be usedoff-the-shelf which makes it very difficult to determine their execution timesand express related properties. We present a solution to this problem by usingstatistical inference for estimating the properties. The contract frameworkallows application developers to express contracts like "the execution time ofcomponent $X$ lies within $\gamma$ standard deviations from the mean executiontime". Experiments based on industrial case studies show that this frameworkcan be smoothly integrated into existing control applications, therebyincreasing their reliability while having an acceptable execution time overhead(less than 10%).
展开▼
机译:本文介绍了一种基于统计推断的动态验证基于组件的实时系统的新技术。验证此类系统需要检查两种类型的属性:功能和实时。对于功能属性,一种确保正确性的标准方法是按合同设计:用可执行的前后条件注释程序。我们扩展合同以指定实时属性。在行业中,组件通常是从供应商处购买的,并且打算直接使用,这使得确定其执行时间和表达相关属性非常困难。通过使用统计推断来估计属性,我们提出了该问题的解决方案。合同框架允许应用程序开发人员表达诸如“组件$ X $的执行时间在$ \ gamma $与平均执行时间的标准偏差之内”之类的合同。基于工业案例研究的实验表明,该框架可以平稳地集成到现有的控制应用程序中,从而在具有可接受的执行时间开销(小于10%)的同时提高其可靠性。
展开▼